<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Alkaline</title>
<%= stylesheet_link_tag 'style' %>
</head>

<body>
<div id="content">
  <div id="login_logout">
    <% unless @current_user.blank? %>
      logged in as <%= @current_user.username %>
      <em><%= link_to "(logout)" , "/auth/logout"%></em>
      <%else%>
      <em>Not Logged In.</em>
      <%= link_to "(login)" , "/auth/login"%>
      <%end%>
  </div>
  <h1>Alkaline</h1>
  
  <div id="yield">
    <%= yield %>
  </div>
  <div id="menu">
    <h1>Menu</h1>
    <ul>
      <li>Home</li>
      <li>List</li>
      <li>About</li>
      <li>Contact</li>
    </ul>
  </div>
<div id="footer">
  <center>copyright 2009 it.kmitl.net</center>
</div>
</div>

  <ul id="navigation">
      <li><%= link_to "Front Page", "/project/" %></li>
      <li><%= link_to "Submit a new Project" , "/project/add" %>
  </ul>
</body>
</html>
